package main

import (
	"fmt"
	"time"
)

type Point struct {
	X, Y float64
}

func (p Point) Show() {
	fmt.Printf("Position{%v, %v}\n", p.X, p.Y)
}

func main() {
	p := Point{4.5, 6.7}
	time.AfterFunc(2*time.Second, func() {
		p.Show()
	})
	time.Sleep(10 * time.Second)
}
